package com.atguigu.gmall.web.config;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

/**@EnableFeignClients
 *     1.开启feign功能
 *     2.扫描@EnableFeignClients 注解所在包以及下面的子包所有@FeignClient 标注的组件
 *          创建代理对象并放到容器中去
 *
 */
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign")
@Configuration
public class AppFeignConfig {
}
